package com.rub.android.jetpack.model

import com.google.gson.annotations.SerializedName

data class Repo(
    @SerializedName("id") val id: Int,
    @SerializedName("name") val name: String,
    @SerializedName("description") val description: String?,
    @SerializedName("stargazers_count") val starCount: Int
)

class RepoResponse(
    @SerializedName("total_count") val total: Int,
    @SerializedName("incomplete_results") val complete: Boolean,
    @SerializedName("items") val items: List<Repo> = emptyList()
)